@echo off
pause
echo clearing waiting......

FOR /R %dir% %%d IN (*.log *.db *.vcxproj.FileListAbsolute.txt *.iobj *.ipdb *.sarif *.tlog *.props vc60.pdb vc90.pdb *.exp *.obj *.pch *.idb *.ncb *.natvis *.lastbuildstate *.recipe *.enc *.opt *.plg *.res *.sbr *.ilk *.aps *.sdf *.temp *.dcu *.bsc *.ipch *.pdb) DO DEL /f /s /q "%%d" 2>nul

FOR /D /R %cd% %%d IN (*.vs) DO (
    rd /s /q "%%d"
)

FOR /D /R %cd% %%d IN (LogInfo) DO (
    rd /s /q "%%d" 2>nul
)

FOR /D /R %cd% %%d IN (moc) DO (
    rd /s /q "%%d" 2>nul
)

FOR /D /R %cd% %%d IN (qmake) DO (
    rd /s /q "%%d" 2>nul
)

FOR /D /R %cd% %%d IN (uic) DO (
    rd /s /q "%%d"
)

rmdir /s /q .vs

pause
ECHO clear over 
@echo off 
echo WScript.Sleep 300 > %temp%.\tmp
$.vbsset/ai=5:Timeoutifsetlocalset/ai=echo……cscript//nologo
$.vbs 
goto Timeout 
goto End 
:Next 
cls & 
echo.